package com.airobot.robot.dto;

public class ChatResponse {
    private String reply;
    private String status;
    private String error;

    // 默认构造函数
    public ChatResponse() {
    }

    // 成功响应的构造函数
    public ChatResponse(String reply) {
        this.reply = reply;
        this.status = "success";
    }

    // 错误响应的构造函数
    public ChatResponse(String status, String error) {
        this.status = status;
        this.error = error;
    }

    // Getter和Setter方法
    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }
}